package com.company.behavioral.visitor_pattern.element;

import com.company.behavioral.visitor_pattern.visitor.Department;

/**
 * 员工抽象类
 * @ClassName Employee
 * @Author tiezheng.han
 * @Date 2020/9/7 16:19
 **/
public interface Employee {

    /**
     * 接受一个访问者访问
     * @param handler
     */
    public void accept(Department handler);
}
